for i in $(seq 10);do
  ping -c 2 192.168.186.$i &> /dev/null;
  if [ $(echo $?) != 0 ];then
    #echo 192.168.132.$i is done;
    curl '机器人的webhook' \
       -H 'Content-Type: application/json' \
       -d '
        {
            "msgtype": "text",
            "text": {
                "content": "192.168.132.'$i' ping不通了,请检查相关服务",
                "mentioned_mobile_list":["110","120"]
            }
        }'
  fi
done
